package com.example.Didacticiel;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class Didacticiel extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
   
    public void setTextView(String texte, int id){
     	TextView a = (TextView) findViewById(id);
     	a.setText(texte);
     }
}